<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>
<!-- 页面头部 -->
<header class="main-header" th:fragment="header">
	<!-- Logo -->
	<a th:href="@{/pages/main.html}" class="logo"> <!-- mini logo for sidebar mini 50x50 pixels -->
		<span class="logo-mini"><b>数据</b></span> <!-- logo for regular state and mobile devices -->
		<span class="logo-lg"><b>数据</b>后台管理</span>
	</a>
	<!-- Header Navbar: style can be found in header.less -->
	<nav class="navbar navbar-static-top">
		<!-- Sidebar toggle button-->
		<a href="#" class="sidebar-toggle" data-toggle="offcanvas"
			role="button"> <span class="sr-only">Toggle navigation</span>
		</a>

		<div class="navbar-custom-menu">
			<ul class="nav navbar-nav">

				<li class="dropdown user user-menu"><a href="#"
					class="dropdown-toggle" data-toggle="dropdown"> <img
						th:src="@{/img/user2-160x160.jpg}"
						class="user-image" alt="User Image">
					<span class="hidden-xs">
<!--							<%&#45;&#45;<security:authentication property="principal.username" />&#45;&#45;%>-->
<!--							<security:authentication property="name" />-->
					</span>
				</a>
					<ul class="dropdown-menu">
						<!-- User image -->
						<li class="user-header"><img
							th:src="@{/img/user2-160x160.jpg}"
							class="img-circle" alt="User Image"></li>

						<!-- Menu Footer-->
						<li class="user-footer">
							<div class="pull-left">
								<a href="#" class="btn btn-default btn-flat">修改密码</a>
							</div>
							<div class="pull-right">
<!--						<a href="@{/logout}"-->
<!--								class="btn btn-default btn-flat">注销</a>-->
								<form method="post" th:action="@{/logout}">
<!--									<security:csrfInput/>-->
									<input type="submit" value="注销">
								</form>
							</div>
						</li>
					</ul></li>
			</ul>
		</div>
	</nav>
</header>
<!-- 页面头部 /-->
</body>
</html>